The phrase "to fit the curves" means to adjust or modify something so that it matches or suits the existing shapes or patterns.